<template>
  <!-- 侧边栏 -->
  <aside class="main-sidebar">
    <section class="sidebar">
      <!--装饰用的图片-->
      <div><img style="height: 100%;width: 100%;" src="../../assets/img/logo1.jpg"></div>
      <!--菜单-->
      <Menu :menuTreeData="menus">
        <!--额外的菜单-->
        <li class="header">反馈及帮助</li>
        <MenuItem url="/help/issue" label="问题日志" icon="fa fa-bug text-red"></MenuItem>
        <MenuItem url="/help/updateLog" label="更新日志" icon="fa fa-lightbulb-o text-yellow"></MenuItem>
      </Menu>
    </section>
  </aside>
</template>

<script>
  import Menu from "./Menu"
  import MenuHeader from "./MenuHeader"
  import SubMenu from "./SubMenu"
  import MenuItem from "./MenuItem"
  import {treeOf} from "../../assets/js/utils/TreeUtils"
  import {BRIDGE_MONITOR_PATH} from "../../assets/js/global"

  export default {
    name: "AppSidebar",
    computed: {
      menus() {
        return treeOf(this.$store.state.Menu.authorizedMenu);
      }
    },
    components:{Menu,MenuHeader,SubMenu,MenuItem}
  }
</script>



// WEBPACK FOOTER //
// AppSidebar.vue?b79d6e0c
